﻿using Pay.TO;
using System;
using System.Collections.Generic;

namespace Pay.DTO {
    /// <summary>
    /// 平台设置：mc_Setting
    /// </summary>
    [Serializable]
	public class setting_dto {
		public setting_dto() {
			site = new site_setting();
			certify = new List<certify_merchant>();
            msg = new List<msg_setting>();
            sms = new sms_setting();
        }
        /// <summary>
        /// 站点配置
        /// </summary>
        public site_setting site { get; set; }
		/// <summary>
		/// o商户四要素价格
		/// </summary>
		public List<certify_merchant> certify { get; set; }
        /// <summary>
        /// 短信设置
        /// </summary>
        public sms_setting sms { get; set; }
        /// <summary>
        /// 消息配置
        /// </summary>
        public List<msg_setting> msg { get; set; }
    }

    /// <summary>
    /// o商户四要素价格
    // </summary>
    [Serializable]
	public class certify_merchant {
		/// <summary>
		/// o商户
		/// </summary>
		public string merchant_no { get; set; }
		/// <summary>
		/// 价格
		/// </summary>
		public decimal amount { get; set; }
		/// <summary>
		/// 通道
		/// </summary>
		public PayChannel pay_channel { get; set; }
	}
}